var status = -1;
var selectionLog = [];

function action(c, b, a) {
    if (status == 0 && c == 0) {
        cm.dispose();
        return
    }
    if (c === 0) {
        status--
    } else {
        status++;
        cm.dispose();
        cm.openShop(9062145)
    }
}

function start() {
    status = -1;
    action(1, 0, 0)
};